package com.baixun.gasentity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "AI报警模块返回的报警统计数据")
public class AiAlarmVO implements Serializable {

    @ApiModelProperty(value = "视频监控模块当前报警数", example = "89")
    private int videoMonitorCurrentAlarmCount;

    @ApiModelProperty(value = "视频监控模块总报警数", example = "580")
    private int videoMonitorTotalAlarmCount;

    @ApiModelProperty(value = "无人机巡检模块当前报警数", example = "89")
    private int droneOperationsCurrentAlarmCount;

    @ApiModelProperty(value = "无人机巡检模块总报警数", example = "580")
    private int droneOperationsTotalAlarmCount;

    @ApiModelProperty(value = "执法仪平台当前报警数", example = "89")
    private int lawEnforcementDeviceCurrentAlarmCount;

    @ApiModelProperty(value = "执法仪平台总报警数", example = "580")
    private int lawEnforcementDeviceTotalAlarmCount;

    // 默认构造函数
    public AiAlarmVO() {}

    // 带参构造函数
    public AiAlarmVO(int videoMonitorCurrentAlarmCount, int videoMonitorTotalAlarmCount,
                     int droneOperationsCurrentAlarmCount, int droneOperationsTotalAlarmCount,
                     int lawEnforcementDeviceCurrentAlarmCount, int lawEnforcementDeviceTotalAlarmCount) {
        this.videoMonitorCurrentAlarmCount = videoMonitorCurrentAlarmCount;
        this.videoMonitorTotalAlarmCount = videoMonitorTotalAlarmCount;
        this.droneOperationsCurrentAlarmCount = droneOperationsCurrentAlarmCount;
        this.droneOperationsTotalAlarmCount = droneOperationsTotalAlarmCount;
        this.lawEnforcementDeviceCurrentAlarmCount = lawEnforcementDeviceCurrentAlarmCount;
        this.lawEnforcementDeviceTotalAlarmCount = lawEnforcementDeviceTotalAlarmCount;
    }
}
